<template>
  <template v-if="globalLoading">
    <CommonLoading />
  </template>
  <div class="flex flex-1 flex-col overflow-hidden">
    <div class="min-h-0 flex-1 overflow-y-auto p-5">
      <slot></slot>
    </div>
  </div>
</template>
<script setup>
import { globalLoading } from "~/composables/common/http";
</script>
